| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

PopupCustomDescriptor.h
1 // PopupCustomDescriptor.h
3 //
5
6 namespace nkWinUi
7 {
11 struct PopupCustomDescriptor final
12 {
15 nkWinUi::Component* _customComponent = nullptr ;
16
19 std::function<void ()> _initializationCallback ;
20
21 bool _closeOnOutsideClick = false ;
22 } ;
23 }
nkWinUi::PopupCustomDescriptor::_initializationCallback
std::function< void()> _initializationCallback
Definition: PopupCustomDescriptor.h:19
nkWinUi::Component
Base class for any graphical component.
Definition: Component.h:12
nkWinUi::PopupCustomDescriptor
Describes how a custom popup should behave.
Definition: PopupCustomDescriptor.h:12
nkWinUi::PopupCustomDescriptor::_closeOnOutsideClick
bool _closeOnOutsideClick
Whether a click outside the popup should cause it to close itself, cancelling the interaction.
Definition: PopupCustomDescriptor.h:21
nkWinUi::PopupCustomDescriptor::_customComponent
nkWinUi::Component * _customComponent
Definition: PopupCustomDescriptor.h:15
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7